<?php
declare(strict_types=1);
namespace app\common\lib\sms;

//引入阿里云

use AlibabaCloud\Client\AlibabaCloud;

class AliSms{
    public static function sendCode(string $phone, int $code):bool{
        if (empty($phone) || empty($code)){
            return false;
        }
        //
        AlibabaCloud::accessKeyClient()
            ->regionId('cn-hangzhou')
            ->asDefaultClient();

        try{

        }catch(\Exception $e){

        }

    }
}



